package com.station.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: yang
 * @Description:
 * @Date 2023/8/29 14:23
 */
public class Enums {

    /**
     * 油站信息枚举
     */
    @AllArgsConstructor
    @Getter
    public enum OilStationInfo {
        NINE("9", "昆仑石油蓝田安村加油站", "34.133453", "109.294765"),
        TEN("10", "正奥能源礼泉福银加油站", "34.447572", "108.507116"),
        ELEVEN("11", "昆仑石油蓝田大寨加油站", "34.136994", "109.320943"),
        THIRTEEN("13", "昆仑石油西安北辰加油站", "48.100000", "126.403119"),
        FOURTEEN("14", "昆仑石油武功贞元加油站", "34.322462", "108.202736"),
        FIFTEEN("15", "昆仑石油长安引镇加油站", "34.096556", "109.077542"),
        SIXTEEN("16", "昆仑石油武功东方加油站", "34.328902", "108.204328"),
        SEVENTEEN("17", "昆仑石油长安韦鸣加油站", "34.142554", "109.054715"),
        EIGHTEEN("18", "昆仑石油岐山车城加油站", "34.275558", "107.584099"),
        NINETEEN("19", "正奥能源眉县远东加油站", "34.301948", "107.749923"),
        TWENTY("20", "正奥能源武功环北加油站", "34.254648", "108.145903"),
        TWENTYONE("21", "正奥能源沣东新城加油站", "34.261749", "108.824858"),
        TWENTYTWO("22", "昆仑石油咸阳西环路加油站", "34.320501", "108.655162"),
        TWENTYTHREE("23", "正奥能源蓝田城东加油站	", "34.148664", "109.350770"),
        TWENTYFOUR("24", "正奥能源咸阳文林西路加油站", "34.349440", "108.686125"),
        TWENTYSIX("26", "正奥能源铜川儒柳加油站	", "34.890725", "108.971037"),
        TWENTYSEVEN("27", "正奥能源永通西加油站", "34.368815", "108.955189"),
        TWENTYEIGHT("28", "正奥能源富鑫泰加油站", "34.738140", "109.222198"),
        TWENTYNINE("29", "正奥能源世纪大道加油站", "34.319859", "108.758580"),
        THIRTY("30", "正奥能源新杜家加油站", "34.375460", "108.971405"),
        THIRTYONE("31", "正奥能源永通东加油站", "34.372420", "108.960120"),
        THIRTYTWO("32", "正奥能源昆仑加油站", "34.310486", "109.004776"),
        THIRTYTHREE("33", "正奥能源临潼宏泰加油站", "34.390015", "109.131470"),
        ONEHUNDRED("100", "昆仑石油岐山龚刘加油站	", "34.314703", "107.666335"),
        ONEHUNDREDANDONE("101", "昆仑石油临潼秦汉加油站", "34.390107", "109.136992"),
        ONEHUNDREDANDTWO("102", "昆仑石油测试站点", "22.619642", "114.152627"),
        ONEHUNDREDANDFOUR("104", "昆仑石油油库", "0.000000", "0.000000"),
        ONEHUNDREDANDFIVE("105", "秦汉质检站", "34.319859", "108.758580");
        private String status;
        private String msg;
        private String locationX;
        private String locationY;

        public static String OilStationInfo(String status) {
            OilStationInfo arrObj[] = OilStationInfo.values();
            for (OilStationInfo obj : arrObj) {
                if (obj.getStatus().equals(status)) {
                    return "+"+obj.getLocationX()+"/"+ "+"+ obj.getLocationY();
                }
            }
            return "";
        }
    }
}
